<template>
	<view class="u-page">
		<tm-menubars title="工作台" :showback="false" iconColor="white">
			<template v-slot:right>
				<fui-icon class="scan-btn" name="scan" :size="48" color="#fff"></fui-icon>

<!--				<view class="scan-btn" @click="show=true"></view>-->
			</template>
		</tm-menubars>

		<view class="u-page__button-item">
			<u-button
				text="工作台"
				size="normal"
				type="info"
				@click="click"
			></u-button>
		</view>
		<tm-button  @click="$refs.toast.show({model:'load'})" size='m'>load</tm-button>
		<tm-message ref="toast"></tm-message>



	</view>
</template>

<script>


	import tmButton from "@/tm-vuetify/components/tm-button/tm-button.vue"

	export default {
		components: {
			tmButton,
		},
		data() {
			return {
				// type: 'default',
				// disabled: false
			}
		},

		methods: {
			click() {
				// uni.$u.route({
				// 	url: "pages/me/index"
				// })
				this.$Router.push({
					path:"/pages/me/index",
					query: { id: 1 }
				});

			}
		},
		created() {},
		onLoad() {

		},
	}
</script>

<style lang="scss">
	.u-page {
		.scan-btn{
			margin-right:20rpx;
		}
		&__button-item {
			margin: 0 15px 15px 0;
		}
	}

</style>
